package com.market.manage.po;


import com.fasterxml.jackson.annotation.JsonFormat;
/*po里面装的都是javabean，及数据库对应的实体类，作用是将数据库的数据读到内存中，便于java程序直接调用*/
public class Article {

    private long id;
    private String content;
    private String userId;
    private String status;
    private java.sql.Timestamp created;
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public java.sql.Timestamp getCreated() {
        return created;
    }

    public void setCreated(java.sql.Timestamp created) {
        this.created = created;
    }

}
